﻿using FluentNHibernate.Mapping;
using Messenia.Data.Models;

namespace Messenia.Data.Hibernate.Map {
  public  class AccessObjectMap :ClassMap<AccessObject> {
      public AccessObjectMap() {
          Id(x => x.AccessObjectId , "AccessObject_ID");
          Map(x => x.Name  );
          Map(x => x.AccessLevel );

      }
    }
}
